package com.sys.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.sys.common.util.PageBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZJF
 * @since 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_check")
@ApiModel(value = "Check对象", description = "")
public class Check extends PageBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "考核名称")
    private String checkName;

    @ApiModelProperty(value = "考核类型")
    private String checkType;

    @ApiModelProperty(value = "考核时间")
    private Date time;

    @ApiModelProperty(value = "员工id")
    private Integer eid;

    @TableField(exist = false)
    private String ename;

    @ApiModelProperty(value = "考核内容")
    private String checkContent;

    @ApiModelProperty(value = "考核结果")
    private String checkResult;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建者")
    private Integer createBy;

    @ApiModelProperty(value = "更新者")
    private Integer updateBy;


}
